package cn.caidabao.gb;

import cn.caidabao.gb.component.sip.CustomSipServer;
import org.springframework.boot.CommandLineRunner;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class SipServerRunnerImpl implements CommandLineRunner {
    @Resource
    private CustomSipServer sipServer;
    @Override
    public void run(String... args) throws Exception {
        sipServer.init();
    }
}
